//
//  Tool.h
//  TestProject
//
//  Created by 杨小平 on 14-8-26.
//  Copyright (c) 2014年 yangxiaoping. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Tool : NSObject

/*根据label内容来调整label的高度*/
+ (void)resizeLabelByContent:(UILabel *)label;

//照片校正
+ (UIImage *)fixOrientation :(UIImage *)image;


#pragma mark - 颜色转换 IOS中十六进制的颜色转换为UIColor
+ (UIColor *) colorWithHexString: (NSString *)colorString;
@end
